# Use an official Python runtime as the base image
FROM python:3.9-slim

# Set the working directory in the container
WORKDIR /usr/aiops

COPY src src

# Install dependencies from requirements.txt
RUN pip install --no-cache-dir -r src/requirements.txt  -i https://pypi.tuna.tsinghua.edu.cn/simple
